/**
 * 
 */
package se.chalmers.spexet.booking.model;
import java.util.*;

/**
 * @author Winquman
 *
 */
public class ModelSettings {
	private static Map<Integer, Integer> ticketPrice;
	
	public ModelSettings() {
		
	}
	
	public static void init() {
		ticketPrice = new HashMap<Integer, Integer>();
		
		//default-values
		ticketPrice.put(Ticket.CHALMERIST, 120);
		ticketPrice.put(Ticket.STUDENT, 130);
		ticketPrice.put(Ticket.VUXEN, 170);
		ticketPrice.put(Ticket.KALAS_CHALMERIST, 160);
		ticketPrice.put(Ticket.KALAS_STUDENT, 200);
		ticketPrice.put(Ticket.KALAS_VUXEN, 200);
	}
	
	public static int getPrice(int ticketType) {
		return ticketPrice.get(ticketType);
	}
}
